package Demo;

import java.io.File;
import java.io.IOException;

public class Demo05 {
    public static void main(String[] args) throws IOException {
        File file = new File("./代码练习文件");
        System.out.println(file.createNewFile());
        System.out.println(file.exists());
        System.out.println(file.isFile());
        //System.out.println(file.delete());
        file.deleteOnExit();

    }
}
